//
//  CCVSString.m
//  ClinicalCollections
//
//  Created by Pasirstein, David B on 5/28/13.
//  Copyright (c) 2013 GOPI. All rights reserved.
//

#import "CCVSString.h"

@interface CCVSString ()

@end

@implementation CCVSString

@synthesize customViewType = _customViewType;
@synthesize isExpanded = _isExpanded;
@synthesize string = _string;
@synthesize linesToDisplay = _linesToDisplay;
@synthesize segueInsteadOfExpand = _segueInsteadOfExpand;

-(NSString*)customViewType
{
    if (!_customViewType) _customViewType = @"CCVSLabel";  //
    return _customViewType;
}

-(BOOL)isExpanded
{
    if (self.segueInsteadOfExpand) return NO;
    return _isExpanded;
}


-(id)init
{
    self = [super init];
    self.linesToDisplay = 5;  //default
    return self;
}

@end
